<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<div class = "navigation"  >
     <div class="tab first_tab"><a href="#">tab1</a></div>  
     <div class="tab"><a href="#">tab2</a></div>  
     <div class="tab"><a href="#">tab3</a></div>  
     <div class="tab"><a href="#">tab4</a></div>

     <!-- 登录 -->
     <div class="tab tab_message nonlogin"><a href="regist.jsp">注册</a></div>

     <!-- 注册 -->
     <div class="tab tab_login nonlogin"><a href="#">登录</a></div>


     <!-- 当前登录人消息栏 -->
     <div class="tab tab_message haslogin"><a href="#">消息</a></div>
     <!-- 当前登录人信息栏 -->
     <div class="tab tab_login haslogin"><a href="#">jiangjiaoa</a></div>
</div> <!--  head over  -->